import Mock from 'mockjs'
import apiData from './data.json'

// 指定监听的url和对应的json数据模板
// goods数据
Mock.mock( "/shop_goods", {"code": 0, data: apiData.goods})

// 评价数据
Mock.mock( "/shop_score", {"code": 0, data: apiData.score})

// 商家数据
Mock.mock( "/shop_merchants", {"code": 0, data: apiData.merchants})